PATHMac OS 8 and 9 Developer Documentation > Human Interface Toolbox > Dialog Manager >

Mac OS 8.5 Dialog Manager Reference


GetDialogTimeout

Obtains the original countdown duration, the time remaining, and the item selection to be simulated for a specified modal dialog box.

pascal OSStatus GetDialogTimeout (
                     DialogPtr inDialog,
                     SInt16 *outButtonToPress,
                     UInt32 *outSecondsToWait,
                     UInt32 *outSecondsRemaining);
inDialog
A value of type DialogPtr . Pass a pointer to the dialog box to be examined.
outButtonToPress
A pointer to a signed 16-bit integer. On return, a value representing the number within the item list of the item that is to be selected. You may pass nil for the outButtonToPress parameter if you do not desire this information.
outSecondsToWait
A pointer to an unsigned 32-bit integer. On return, a value specifying the number of seconds that were originally set to elapse before the Dialog Manager simulates an item selection. You may pass nil for the outSecondsToWait parameter if you do not desire this information.
outSecondsRemaining
A pointer to an unsigned 32-bit integer. On return, a value specifying the number of seconds remaining before the Dialog Manager simulates an item selection. You may pass nil for the outSecondsRemaining parameter if you do not desire this information.
function result
A result code. See Result Codes for the Mac OS 8.5 Dialog Manager .

VERSION NOTES

Available with Mac OS 8.5 and later.


SEE ALSO

The function SetDialogTimeout .


© 1999 Apple Computer, Inc.

|